<?php

/**
 * Created by PhpStorm.
 * User: hantian
 * Date: 2017/11/9
 * Time: 上午10:33
 */
namespace App\handles;

class SwooleHandler
{
    function onReceive(\swoole_server $serv, $fd, $from_id, $data)
    {
        echo "Get Message From Client {$fd}:{$data}\n";
    }
}